import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router";

const routes: Array<RouteRecordRaw> = [
    {
        path: '/test1',
        component: () => import('../views/test1/Test1.vue')
    },
    // {
    //     path: '/login',
    //     component: () => import('@/views/login/Login.vue')
    // },
    // {
    //     path: '/',
    //     component: () => import('@/layout/Layout.vue'),
    //     children: [
    //         {
    //             path: '/users',
    //             component: () => import('@/views/users/Users.vue')
    //         },
    //         {
    //             path: '/users/create',
    //             component: () => import('@/views/users/Create.vue')
    //         },
    //     ]
    // }
];

const router = createRouter({
    history: createWebHashHistory(), // createWebHistory
    routes
});

export default router;